package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 food
 * 
 * @author ruoyi
 * @date 2024-03-19
 */
public class Food extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键Id */
    private Long id;

    /** 餐厅封面 */
    @Excel(name = "餐厅封面")
    private String imgUrl;

    /** 餐厅名称 */
    @Excel(name = "餐厅名称")
    private String title;

    /** 餐厅地址 */
    @Excel(name = "餐厅地址")
    private String address;

    /** 评分 */
    @Excel(name = "评分")
    private Long score;

    /** 食物类型，如中餐，亚洲料理 */
    @Excel(name = "食物类型，如中餐，亚洲料理")
    private String foodType;

    /** 是否支持素食 */
    @Excel(name = "是否支持素食")
    private Long vegetar;

    /** 餐时 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "餐时", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mealTime;

    /** 餐厅轮播图 */
    @Excel(name = "餐厅轮播图")
    private String pictureUrls;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setFoodType(String foodType) 
    {
        this.foodType = foodType;
    }

    public String getFoodType() 
    {
        return foodType;
    }
    public void setVegetar(Long vegetar) 
    {
        this.vegetar = vegetar;
    }

    public Long getVegetar() 
    {
        return vegetar;
    }
    public void setMealTime(Date mealTime) 
    {
        this.mealTime = mealTime;
    }

    public Date getMealTime() 
    {
        return mealTime;
    }
    public void setPictureUrls(String pictureUrls) 
    {
        this.pictureUrls = pictureUrls;
    }

    public String getPictureUrls() 
    {
        return pictureUrls;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imgUrl", getImgUrl())
            .append("title", getTitle())
            .append("address", getAddress())
            .append("score", getScore())
            .append("foodType", getFoodType())
            .append("vegetar", getVegetar())
            .append("mealTime", getMealTime())
            .append("pictureUrls", getPictureUrls())
            .toString();
    }
}
